import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../../services/http-client.service';

@Injectable()
export class ModifyService {

  constructor(public httpClient: HttpClientService) { }
  //状态为正常的修改
  modify(sType, putBody) {
    return this.httpClient.put('/pms/v1/fundGroup/pmsFundGroup?sType=' + sType, putBody);
  }
  //状态为添加待审、修改待审的修改
  addModify(sType, sOprAction, putBody) {
    return this.httpClient.put('/pms/v1/fundGroup/updateFundGroupNoNeedAudit?sType=' + sType + '&sOprAction=' + sOprAction, putBody);
  }
  // 解锁
  unlock(getbody) {
    return this.httpClient.get('/pms/v1/fundGroup/unLock', getbody);
  }
}
